const express = require('express');
const router = express.Router();
const { getAllLogs, createLog, updateLog, deleteLog } = require('../controllers/logController');

router.get('/', getAllLogs);
router.post('/', createLog);
router.put('/:no', updateLog);
router.delete('/:no', deleteLog);

module.exports = router; 